package com.ubireality.service.bizlogic;

import javax.inject.Inject;
import javax.persistence.EntityManager;

import org.apache.log4j.Logger;

import com.ubireality.module.player.User;

public class Test {
	@Inject
	static EntityManager entityManager;
	@Inject
	static Logger logger;

public static void main(String[] args) {

	User user=new User();
	entityManager.persist(user);
	user.setDeviceId("one two");
	user.setName("haha");
	logger.debug("new user: "+user+" saved");

}
}
